#include<iostream>

using namespace std;

int main()
{
    double* pvalue = NULL;
    pvalue = new double; //為變量請求內存

    *pvalue = 29494.99;

    cout<<"value of pvalue="<<*pvalue<<endl;

    delete pvalue;//釋放內存

    return 0;
}